home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / game / patch / WHDIGamesA-B.lzh / BombX.lha / BombXHD / Install-BombX < prev    next >
Text File  |  2001-03-19  |  3KB  |  134 lines

  1. ;; Install script generated by InstallWizard 1.6b
  2. ;; InstallWizard is copyright 2000 Jean-François Fabre
  3.  
  4. (set GameDir "BombX")
  5.  
  6. ;try to figure out a place where the user usually installs his games
  7. (if (exists "Games:" (noreq) )
  8.     (set @default-dest "Games:")
  9.     (if (exists "SYS:Games" (noreq) )
  10.         (set @default-dest "SYS:Games")
  11.         (if (exists "Work:Games" (noreq) )
  12.             (set @default-dest "Work:Games")
  13.             (if (exists "JEUX:" (noreq) )
  14.                (set @default-dest "JEUX:")
  15.                (set @default-dest "SYS:")
  16.             )
  17.         )
  18.     )
  19. )
  20. (set #dest
  21.      (tackon (askdir (prompt "Where would you like " @app-name " installed?\n"
  22.                              "A drawer called " GameDir " will be created.")
  23.                      (help @askdir-help)
  24.                      (default @default-dest)
  25.                      (newpath)
  26.              )
  27.      GameDir
  28.      )
  29. )
  30.  
  31. (set @default-dest #dest)
  32.  
  33.  
  34.  
  35. (makedir @default-dest
  36.     (help @makedir-help)
  37.     (infos)
  38. )
  39.  
  40. (copyfiles
  41.     (help @copyfiles-help)
  42.     (source "bombxhd.readme")
  43.     (dest @default-dest)
  44.     (infos)
  45. )
  46. (set #install_type
  47.     (askbool
  48.         (prompt    "Which slave do you want to install?")
  49.         (help    "JST slave uses fastmem. WHDload slave does not")
  50.         (choices "JST" "WHDLoad")
  51.         (default 1)
  52.     )
  53. )
  54.  
  55. (set #diskno 49)
  56.  
  57. (if (= #install_type 1)
  58. (
  59.  
  60. (message "\n\n\nThis loader needs the JST program (NOT INCLUDED)\n to be copied in your path\n\n(if you don't have it already)\n\nJST is available from aminet (game/patch) or on my site\n\nhttp://jffabre.free.fr/amiga/patches.html")
  61.  
  62.  
  63. ;; end init
  64. ;; copy/update OS-Emu
  65.  
  66. (if (exists "C:OSEmu.400")
  67.  
  68. (set install_osemu
  69.     (askbool
  70.         (prompt    "Do you need to update OSEmu OS emulation module?")
  71.         (help    "An outdated version of C:OSEmu.400 won't allow to run the game")
  72.         (choices "Update" "Leave")
  73.         (default 2)
  74.     )
  75. )
  76. (set install_osemu 1)
  77. )
  78.  
  79. (if (= 1 install_osemu)
  80.     (copyfiles (source "OSEmu.400")
  81.                (dest "C:")
  82.     )
  83. )
  84.  
  85. ;; end copy/update OSEmu
  86.  
  87. (copyfiles
  88.     (help @copyfiles-help)
  89.     (source "BombXHD")
  90.     (dest @default-dest)
  91.     (infos)
  92. )
  93. )
  94. (
  95. ; whdload
  96.  
  97. (copyfiles
  98.     (help @copyfiles-help)
  99.     (source "BombXWHD.icon")
  100.     (dest @default-dest)
  101.     (newname "BombXWHD.info")
  102. )
  103. (copyfiles
  104.     (help @copyfiles-help)
  105.     (source "BombX.slave")
  106.     (dest @default-dest)
  107. )
  108. (copyfiles
  109.     (help @copyfiles-help)
  110.     (source "OSEmu.400")
  111.     (dest @default-dest)
  112. )
  113.  
  114. )
  115.  
  116. )
  117.  
  118. (set #currentdisk "BombX")
  119.  
  120.     (askdisk
  121.       (prompt ("\n\n\n\n\n\nPlease insert %s disk %lc in any drive" @app-name #diskno))
  122.       (dest      #currentdisk)
  123.       (help      ("Insert disk %lc in any drive or you'll wait for a while!" #diskno) )
  124.     )
  125.  
  126.     (copyfiles (source ("%s:" #currentdisk))
  127.            (dest @default-dest)
  128.        (all)
  129.     )
  130.  
  131.  
  132. ;; end copy floppies
  133. (set #diskno (+ #diskno 1))
  134.